| Visual Basic (Declaration) | |
|---|---|
| Public Overloads Shared Function FromColorsRange( _ ByVal key As String, _ ByVal ev As ElementValue, _ ByVal sr As ScaleRange, _ ByVal ParamArray colors() As Color _ ) As SmartPalette | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
|  | |
| C# | |
|---|---|
| public static SmartPalette FromColorsRange( string key, ElementValue ev, ScaleRange sr, params Color[] colors ) | |
Parameters
- key
- The name of a series or element. Use "*" as a wildcard.
- ev
- Element value on which element coloring is based.
- sr
- ScaleRange that specifies the minimum and maximum range of the element value to include in the palette.
- colors
- Colors to base SmartColors on.
 
     
     
     
    